package com.yidu.best.basicSetup.custodian.dao;

import java.util.List;
import java.util.Map;

import com.yidu.best.basicSetup.custodian.domain.Custodian;
import com.yidu.best.basicSetup.custodian.domain.CustodianVo;
import com.yidu.best.basicSetup.trusteeset.domain.Trustee;


public interface CustodianDao {
	/**
	 * 根据ID删除
	 * @param CustodianId
	 * @return
	 */
	public int deleteById(Map<String, Object> map);
	/**
	 * 添加
	 * @param Custodian
	 * @return
	 */
	public int addCustodian(Custodian custodian);
	/**
	 * 根据ID修改
	 * @param CustodianId
	 * @return
	 */
	public int updateCustodian(Custodian custodianId);
	/**
	 * 查询所有数据
	 * @param CustodianVo
	 * @return
	 */
	public List<Custodian> selectPageParam(CustodianVo custodianVo);
	/**
	 * 查询总数
	 * @param CustodianVo
	 * @return
	 */
	public int selectCount(CustodianVo custodianVo);
	
	/**
	 * 逻辑删除
	 * @param Custodian
	 * @return
	 */
	public int logicDelete(Custodian custodian);
	
	
	
	
	/**
	 * 基金表查管理人Id的方法
	 * @return
	 */
	public List<Custodian> findByAllCustodian();
	
	
	
	
	
}
